for i in range(1,10):
    for x in range(1,i+1):
        print("{}*{}={:<2}".format(i,x,i*x),end=" ")
    print()


# 完成的不错
